package com.activitycode.datamodel.model;

import org.json.*;


public class AdData {
	
    private String addTime;
    private String adId;
    private String encyId;
    private String image;
    
    
	public AdData () {
		
	}	
        
    public AdData (JSONObject json) {
    
        this.addTime = json.optString("add_time");
        this.adId = json.optString("ad_id");
        this.encyId = json.optString("ency_id");
        this.image = json.optString("image");

    }
    
    public String getAddTime() {
        return this.addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getAdId() {
        return this.adId;
    }

    public void setAdId(String adId) {
        this.adId = adId;
    }

    public String getEncyId() {
        return this.encyId;
    }

    public void setEncyId(String encyId) {
        this.encyId = encyId;
    }

    public String getImage() {
        return this.image;
    }

    public void setImage(String image) {
        this.image = image;
    }


    
}
